home *** CD-ROM | disk | FTP | other *** search
- /*
- TOWNS囲碁棋譜記録プログラム
- 1991/12/11 久保田俊也
-
- 93/01/02 GNUC からHIGHC 移行のため作成
-
-
- */
- #include <EGB.H>
-
- extern char para[64] ;
-
- int WGB_box( char *work, int x1, int y1, int x2, int y2 )
- {
-
- WORD(para + 0) = x1;
- WORD(para + 2) = y1;
- WORD(para + 4) = x2;
- WORD(para + 6) = y2;
- return ( WGB_rectangle( work, para ));
-
- }
-
- int WGB_singleLine( char *work, int x1, int y1, int x2, int y2 )
- {
-
- WORD(para + 0) = 2;
- WORD(para + 2) = x1;
- WORD(para + 4) = y1;
- WORD(para + 6) = x2;
- WORD(para + 8) = y2;
- return ( WGB_connect( work, para ));
-
- }
-
-